<?php

/**
 * Implementation of hook_views_default_views().
 */
function testpage_catlist_views_default_views() {
  $views = array();

  // Exported view: testpage_catlist
  $view = new view;
  $view->name = 'testpage_catlist';
  $view->description = 'testpage_catlist';
  $view->tag = 'testpage_catlist';
  $view->view_php = '';
  $view->base_table = 'term_data';
  $view->is_cacheable = FALSE;
  $view->api_version = 2;
  $view->disabled = FALSE; /* Edit this to true to make a default view disabled initially */
  $handler = $view->new_display('default', 'Defaults', 'default');
  $handler->override_option('fields', array(
    'name' => array(
      'label' => '',
      'alter' => array(
        'alter_text' => 0,
        'text' => '',
        'make_link' => 0,
        'path' => '',
        'link_class' => '',
        'alt' => '',
        'prefix' => '',
        'suffix' => '',
        'target' => '',
        'help' => '',
        'trim' => 0,
        'max_length' => '',
        'word_boundary' => 1,
        'ellipsis' => 1,
        'html' => 0,
        'strip_tags' => 0,
      ),
      'empty' => '',
      'hide_empty' => 0,
      'empty_zero' => 0,
      'link_to_taxonomy' => 0,
      'exclude' => 1,
      'id' => 'name',
      'table' => 'term_data',
      'field' => 'name',
      'relationship' => 'none',
    ),
    'tid_1' => array(
      'label' => '',
      'alter' => array(
        'alter_text' => 0,
        'text' => '',
        'make_link' => 0,
        'path' => '',
        'link_class' => '',
        'alt' => '',
        'prefix' => '',
        'suffix' => '',
        'target' => '',
        'help' => '',
        'trim' => 0,
        'max_length' => '',
        'word_boundary' => 1,
        'ellipsis' => 1,
        'html' => 0,
        'strip_tags' => 0,
      ),
      'empty' => '',
      'hide_empty' => 0,
      'empty_zero' => 0,
      'set_precision' => FALSE,
      'precision' => 0,
      'decimal' => '.',
      'separator' => ',',
      'prefix' => '',
      'suffix' => '',
      'exclude' => 1,
      'id' => 'tid_1',
      'table' => 'term_data',
      'field' => 'tid',
      'override' => array(
        'button' => 'Override',
      ),
      'relationship' => 'none',
    ),
    'tid' => array(
      'label' => '',
      'alter' => array(
        'alter_text' => 0,
        'text' => '',
        'make_link' => 0,
        'path' => 'catalog/[tid_1]',
        'link_class' => '',
        'alt' => '',
        'prefix' => '',
        'suffix' => '',
        'target' => '',
        'help' => '',
        'trim' => 0,
        'max_length' => '',
        'word_boundary' => 1,
        'ellipsis' => 1,
        'html' => 0,
        'strip_tags' => 0,
      ),
      'empty' => '',
      'hide_empty' => 0,
      'empty_zero' => 0,
      'imagecache_preset' => '',
      'link_to_taxonomy' => 0,
      'exclude' => 1,
      'id' => 'tid',
      'table' => 'term_image',
      'field' => 'tid',
      'relationship' => 'none',
      'override' => array(
        'button' => 'Override',
      ),
    ),
    'nothing' => array(
      'label' => '',
      'alter' => array(
        'text' => '[tid]
',
        'make_link' => 0,
        'path' => '',
        'link_class' => '',
        'alt' => '',
        'prefix' => '',
        'suffix' => '',
        'target' => '',
        'help' => '',
        'trim' => 0,
        'max_length' => '',
        'word_boundary' => 1,
        'ellipsis' => 1,
        'html' => 0,
        'strip_tags' => 0,
      ),
      'empty' => '',
      'hide_empty' => 0,
      'empty_zero' => 0,
      'exclude' => 0,
      'id' => 'nothing',
      'table' => 'views',
      'field' => 'nothing',
      'relationship' => 'none',
      'override' => array(
        'button' => 'Override',
      ),
    ),
  ));
  $handler->override_option('sorts', array(
    'weight' => array(
      'order' => 'ASC',
      'id' => 'weight',
      'table' => 'term_data',
      'field' => 'weight',
      'relationship' => 'none',
    ),
  ));
  $handler->override_option('filters', array(
    'vid' => array(
      'operator' => 'in',
      'value' => array(
        '14' => '14',
      ),
      'group' => '0',
      'exposed' => FALSE,
      'expose' => array(
        'operator' => FALSE,
        'label' => '',
      ),
      'id' => 'vid',
      'table' => 'term_data',
      'field' => 'vid',
      'relationship' => 'none',
    ),
  ));
  $handler->override_option('access', array(
    'type' => 'none',
  ));
  $handler->override_option('cache', array(
    'type' => 'none',
  ));
  $handler->override_option('items_per_page', 12);
  $handler->override_option('style_plugin', 'slideshow');
  $handler->override_option('style_options', array(
    'mode' => 'views_slideshow_singleframe',
    'views_slideshow_singleframe-prefix' => '',
    'views_slideshow_singleframe' => array(
      'timeout' => '0',
      'delay' => '0',
      'speed' => '700',
      'start_paused' => 0,
      'fixed_height' => '1',
      'random' => '0',
      'pause' => '1',
      'pause_on_click' => '0',
      'pause_when_hidden' => 0,
      'pause_when_hidden_type' => 'full',
      'amount_allowed_visible' => '',
      'remember_slide' => 0,
      'remember_slide_days' => '1',
      'controls' => '1',
      'pager' => '0',
      'pager_type' => 'Numbered',
      'pager_hover' => '2',
      'pager_click_to_page' => 0,
      'image_count' => '0',
      'items_per_slide' => '6',
      'effect' => 'scrollRight',
      'sync' => '1',
      'nowrap' => '0',
      'advanced' => '',
      'ie' => array(
        'cleartype' => 'true',
        'cleartypenobg' => 'false',
      ),
    ),
    'views_slideshow_thumbnailhover-prefix' => '',
    'views_slideshow_thumbnailhover' => array(
      'main_fields' => array(
        'nothing' => 0,
      ),
      'breakout_fields' => array(
        'nothing' => 0,
      ),
      'teasers_last' => 1,
      'timeout' => '5000',
      'delay' => '0',
      'speed' => '300',
      'start_paused' => 0,
      'fixed_height' => '1',
      'random' => '0',
      'pause' => '1',
      'pause_on_click' => '0',
      'pause_when_hidden' => 0,
      'pause_when_hidden_type' => 'full',
      'amount_allowed_visible' => '',
      'remember_slide' => 0,
      'remember_slide_days' => '1',
      'pager_event' => 'mouseover',
      'controls' => '0',
      'image_count' => '0',
      'effect' => 'fade',
      'sync' => '1',
      'nowrap' => '1',
      'advanced' => '',
      'ie' => array(
        'cleartype' => 'true',
        'cleartypenobg' => 'false',
      ),
    ),
    'views_slideshow_ddblock-prefix' => '',
    'views_slideshow_ddblock' => array(
      'widget' => 'cycle',
      'debug_info' => 'none',
      'template' => 'vsd-upright10',
      'custom_template' => '',
      'imgcache_toggle' => 0,
      'imgcache' => array(
        'imgcache_slide' => '<none>',
        'imgcache_pager_item' => '<none>',
      ),
      'content_container' => array(
        'container' => 'div.slide',
        'overflow' => 0,
      ),
      'settings' => array(
        'fx' => 'fade',
        'speed' => '500',
        'timeout' => '5000',
        'order' => 'asc',
        'pause' => 1,
        'next' => 0,
        'pager_toggle' => 1,
        'pager_settings' => array(
          'pager' => 'number-pager',
          'pager_container' => '.custom-pager-item',
          'pager_position' => 'top',
          'pager_event' => 'click',
          'pager_fast' => 1,
          'pager_pause' => 1,
        ),
        'pager2' => 0,
        'pager2_settings' => array(
          'pager2_event' => 'click',
          'pager2_position' => array(
            'slide' => 'slide',
            'pager' => 0,
          ),
          'pager2_pager' => array(
            'pager2_pager_prev' => 'prev',
            'pager2_pager_next' => 'next',
            'pager2_pager_hide' => 1,
          ),
          'pager2_slide' => array(
            'pager2_slide_prev' => '',
            'pager2_slide_next' => '',
            'pager2_slide_hide' => 1,
          ),
        ),
        'slide_text' => 1,
        'slide_text_settings' => array(
          'slide_text_container' => 'div.slide-text',
          'slide_text_position' => 'bottom',
          'slide_text_jquery' => 0,
          'slide_jquery' => array(
            'slide_text_before_effect' => 'hide',
            'slide_text_before_speed' => '500',
            'slide_text_after_effect' => 'show',
            'slide_text_after_speed' => '500',
          ),
        ),
        'custom' => array(
          'custom_jquery' => '',
        ),
      ),
    ),
  ));
  $handler = $view->new_display('block', 'testpage_catlist', 'block_1');
  $handler->override_option('block_description', 'testpage_catlist');
  $handler->override_option('block_caching', -1);

  $views[$view->name] = $view;

  return $views;
}
